//
//  Copyright 2015 XiaoJSoft Studio.
//  Copyright 2015 Harbin Institute of Technology(HIT), Software Engineering Department.
//
//  Use of this source code is governed by a proprietary license. You can not read, change or
//  redistribute this source code unless you have a written authorization from the copyright
//  holder listed above.
//

#ifndef EMIT_H_
#define EMIT_H_

#include <string>
#include <vector>

namespace ui {
namespace compiler {

class Emit {
public:
    Emit();
    ~Emit();
    void addScriptFile(const std::string &script_url);
    void addScriptText(const std::string &script_text);
    void addCSSFile(const std::string &css_url);
    bool getCode(std::string &output);
private:
    std::vector<std::string> m_CSSURLs;
    std::vector<std::string> m_Scripts;
    std::vector<bool> m_ScriptIsFile;
};

}  //  namespace compiler
}  //  namespace ui

#endif  //  EMIT_H_
